home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-04-08 | 3.5 KB | 148 lines | [TEXT/MPS ] |
- #
- # NCRScsiDriver
- # Copyright © 1994-95 Apple Computer Inc. All rights reserved.
- # This MakeFile builds the NCRDriver sample PCI device driver and
- # the resource file needed for the MetroWerks compilation.
- # Note: all compilations are Power PC Native.
- #
- Src = ":Src:" # Sources in Src folder
- Obj = ":Obj:" # Objects in Obj folder
- #
- # PCICIncludes Defined by UserStartup•PCI in System Preferences
- # PCILibraries Defined by UserStartup•PCI in System Preferences
- #
-
- Objects = ∂
- {Obj}DriverDoDriverIO.c.o ∂
- {Obj}DriverDebugSupport.c.o ∂
- {Obj}DriverGestaltHandler.c.o ∂
- {Obj}DriverPCIBusUtilities.c.o ∂
- {Obj}DriverPrepMemoryInit.c.o ∂
- {Obj}DriverPrepRequest.c.o ∂
- {Obj}GetDeviceLogicalAddress.c.o ∂
- {Obj}GetDevicePowerInfo.c.o ∂
- {Obj}InitializeInterrupts.c.o ∂
- {Obj}LogLibrary.c.o ∂
- {Obj}ManageNVRAMProperty.c.o ∂
- {Obj}NameRegistryUtilities.c.o ∂
- {Obj}NCRChipManager.c.o ∂
- {Obj}NCRRunScript.c.o ∂
- {Obj}NCRScriptManager.c.o ∂
- {Obj}NCRStartScript.c.o ∂
- {Obj}PrepMemoryUtilities.c.o ∂
- {Obj}PublishDriverDebugInfo.c.o ∂
- {Obj}PublishInitFailureMsg.c.o
-
- Headers = ∂
- {Src}NCR53C825.h ∂
- {Src}NCRDriver.h ∂
- {Src}NCRDriverPrivate.h ∂
- {Src}NCRDriverPrototypes.h ∂
- {Src}LogLibrary.h
-
- #
- # Directory Dependencies. Sources are in the {Src} subdirectory,
- # Objects in the {Obj} subdirectory.
- #
- {Obj} ƒ {Src}
-
- #
- # Compiler option configuration
- #
- SymOpt = ON
- PPCCOpt = off
-
- .c.o ƒ .c ∂
- {Headers}
- PPCC ∂
- -appleext on ∂
- -sym {SymOpt} ∂
- -opt {PPCCOpt} ∂
- -shared_lib_export on ∂
- -w off ∂
- -D MPW=1 ∂
- -D NoASM ∂
- -D RS6000=0 ∂
- -D powerpc=1 ∂
- -D interface_glue ∂
- -i "{PCICIncludes}" ∂
- -export_list {Obj}NotUsedExportList ∂
- -o {TargDir}{Default}.c.o ∂
- {DepDir}{Default}.c
-
- #
- # Build the MetroWerks resources
- #
- MetroWerks ƒ ∂
- "NCRDriver.Δ.rsrc"
- echo "MetroWerks resources created"
-
- #
- # Build the Driver (MPW PowerPC native)
- #
- "NCRDriver MPW" ƒƒ ∂
- MetroWerks ∂
- Makefile ∂
- {Headers} ∂
- {Objects}
- echo "" >{Obj}NotUsedExportList
- PPCLink ∂
- -sym {SymOpt} ∂
- -xm s ∂
- -main DoDriverIO ∂
- -export DoDriverIO ∂
- -export TheDriverDescription ∂
- -export CFMInitialize ∂
- -export CFMTerminate ∂
- {Objects} ∂
- "{PCILibraries}"DriverServicesLib ∂
- "{PCILibraries}"DriverLoaderLib ∂
- "{PCILibraries}"NameRegistryLib ∂
- "{PCILibraries}"PCILib ∂
- "{PPCLibraries}"PPCCRuntime.o ∂
- -o {Obj}NCRDriver.xcoff
- MakePEF ∂
- {Obj}NCRDriver.xcoff ∂
- -b ∂
- -i CFMInitialize ∂
- -t CFMTerminate ∂
- -l "{PCILibraries}"DriverServicesLib ∂
- -l "{PCILibraries}"NameRegistryLib ∂
- -l "{PCILibraries}"PCILib ∂
- -o {targ} ∂
- -ft ndrv -fc PSSD
-
- "NCRDriver MPW" ƒƒ ∂
- Makefile ∂
- {Headers} ∂
- {Src}NCRDriver.r ∂
- "NCRDriverIcons.rsrc"
- Rez ∂
- -o {targ} ∂
- -append ∂
- -t ndrv ∂
- -c PSSD ∂
- -i "{CIncludes}" ∂
- -i "{RIncludes}" ∂
- -d MPW=1 ∂
- {Src}NCRDriver.r
-
- #
- # This builds a project resource file for the
- # Metrowerks environment.
- #
- "NCRDriver.Δ.rsrc" ƒ ∂
- Makefile ∂
- {Headers} ∂
- {Src}NCRDriver.r ∂
- "NCRDriverIcons.rsrc"
- Rez ∂
- -o {targ} ∂
- -append ∂
- -t rsrc ∂
- -c RSED ∂
- -i "{CIncludes}" ∂
- -i "{RIncludes}" ∂
- -d MPW=1 ∂
- {Src}NCRDriver.r
-